package cn.tedu.ivos.dictoption.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class DictOptionSaveParam {
	@Schema(description = "字典项编号")
	private Long id;
	@Schema(description = "字典编号")
	private Long dictId;
	@Schema(description = "字典项名称")
	@NotBlank(message = "字典项名称不能为空")
	private String label;
	@Schema(description = "字典项值")
	@NotBlank(message = "字典项值不能为空")
	private String value;
	@Schema(description = "字典项排序")
	@NotNull(message = "字典项排序不能为空")
	private Integer sort;
	@Schema(description = "字典项备注")
	@NotBlank(message = "字典项备注不能为空")
	private String remark;
}
